function Mod(a,b : longint) : longint;

Returns:  a MOD b 

Also see:  Div  EvalNumber